package jdbc;

public class User {
    @InputUtil.InputField(title = "请输入用户名",mode = "登陆",notNull = true)
    private String id;
    @InputUtil.InputField(title = "请输入密码",mode = "登陆",notNull = true)
    private String pw;

    public User() {}

    public User(String pw, String id) {
        this.pw = pw;
        this.id = id;
    }

    @Override
    public String toString() {
        return "User{" +
                "id='" + id + '\'' +
                ", pw='" + pw + '\'' +
                '}';
    }
}
